// 商品品牌
const {DataTypes, db } = require("../db");
db.define('goodsBrand', {
id: {type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true,comment:'表自增ID'},
tenantId:{type: DataTypes.INTEGER,comment:''}, 
name:{type: DataTypes.STRING(150),comment:''}, 

}, {
    tableName: 'goods_brand',
    timestamps: false,
    comment: '商品品牌',
    indexes:[{"unique":true,"name":"品牌名称唯一","fields":["tenantId"," name"]}]
});